<div>
    <form class="form-horizontal bv-form"  role="form"  id="updateForm">
        <fieldset>
            <legend>基本信息</legend>

            <div class="form-group">
                <label class="col-sm-3 control-label">信息名称</label>
                <div class="col-sm-5">
                    <input type="text" disabled class="form-control" name="course_name" value="{$res.life_name}">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">缩略图</label>
                <div class="col-sm-5">
                    {volist name="img_url" id="vo"}
                    <img src="{$vo}" style="width:100px;height:100px"/>
                    {/volist}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">信息内容</label>
                <div class="col-sm-8">
                    <script id="container" name="content" type="text/plain" style="width:450px;height:100%;min-height:400px;">
                        <?php echo(html_entity_decode($res['life_content']?$res['life_content']:''))?>

                    </script>
                </div>
            </div>




        </fieldset>
    </form>
</div>
<script type="text/javascript">
    var ue = UE.getEditor('container',{
        toolbars: [
            [
                'undo', //撤销
                'redo', //重做
                'bold', //加粗
                'indent', //首行缩进
                'italic', //斜体
                'underline', //下划线
                'strikethrough', //删除线
                'fontborder', //字符边框
                'formatmatch', //格式刷
                'source', //源代码
                'cleardoc', //清空文档
                'simpleupload', //单图上传
                'justifyleft', //居左对齐
                'justifyright', //居右对齐
                'justifycenter', //居中对齐
                'justifyjustify', //两端对齐
            ]
        ]
    });
</script>


